package cn.com.yusys.yusp.admin.domain;

import cn.com.yusys.yusp.commons.mapper.annotation.Generated;
import cn.com.yusys.yusp.commons.mapper.annotation.GenerationType;
import cn.com.yusys.yusp.commons.mapper.domain.BaseDomain;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * 系统角色
 *
 */
@Entity
@Table(name = "admin_sm_role")
public class AdminSmRole extends BaseDomain implements Serializable {
private static final long serialVersionUID = 1L;


@Id
@Generated(GenerationType.UUID)
@Column(name="ROLE_ID")
private String roleId;

@Column(name = "ROLE_CODE")
private String roleCode;

@Column(name = "ROLE_NAME")
private String roleName;

@Column(name = "ORG_ID")
private String orgId;

@Column(name = "ROLE_LEVEL")
private String roleLevel;

@Column(name = "ROLE_STS")
private String roleSts;

@Column(name = "LAST_CHG_USR")
private String lastChgUsr;

@Column(name = "LAST_CHG_DT")
private String lastChgDt;


public AdminSmRole() {
}


public String getRoleName() {
    return roleName;
}


public void setRoleName(String roleName) {
    this.roleName = roleName;
}


public String getRoleId() {
    return roleId;
}


public void setRoleId(String roleId) {
    this.roleId = roleId;
}


public String getRoleCode() {
    return roleCode;
}


public void setRoleCode(String roleCode) {
    this.roleCode = roleCode;
}


public String getOrgId() {
    return orgId;
}


public void setOrgId(String orgId) {
    this.orgId = orgId;
}


public String getRoleLevel() {
    return roleLevel;
}


public void setRoleLevel(String roleLevel) {
    this.roleLevel = roleLevel;
}


public String getRoleSts() {
    return roleSts;
}


public void setRoleSts(String roleSts) {
    this.roleSts = roleSts;
}


public String getLastChgUsr() {
    return lastChgUsr;
}


public void setLastChgUsr(String lastChgUsr) {
    this.lastChgUsr = lastChgUsr;
}


public String getLastChgDt() {
    return lastChgDt;
}


public void setLastChgDt(String lastChgDt) {
    this.lastChgDt = lastChgDt;
}


public static long getSerialversionuid() {
    return serialVersionUID;
}

}
